<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			a {
				
				width: 300px;
				height: 300px;
				background-color: hotpink;
				display: block;
			}
			div {
				
				width: 300px;
				height: 300px;
				background-color: green;
				display: inline;
			}
			span {
				
				width: 300px;
				height: 300px;
				background-color: #000;
				display: inline-block;
			}
		</style>
	</head>
	<body>
		<a href=""></a>
		<div>这是一个块元素转换为行内元素的测试</div>
		<div>这是一个块元素转换为行内元素的测试</div>
		<br>
		<span>转换为行内块</span>
		<span>转换为行内块</span>
	</body>
</html>
